#pragma once

class Fps
{
public:
	//static Fps FPSControl;
	Fps();
	~Fps();

	void OnLoop();
	int GetFps();
	float GetSpeedFactor();
private:
	unsigned int _old_time;
	int     _last_time;
	float   _speed_factor;
	int		_num_frames;
	int     _frames;	
};
